/*
 * @Author: 李一番
 * @Date: 2021-10-12 13:54:26
 * @Last Modified by: 李一番
 * @Last Modified time: 2021-10-27 10:27:16
 */

import { getCookie } from '@/utils/auth'

export type IUserState = {
  token: string
  userInfo: any
}

export const state: IUserState = {
  token: getCookie('token') as string,
  userInfo: {}
}
